Writing constructors is often a repetitive task.
编写构造函数经常是重复性的工作。
You have to look at every repetitive task and figure out how to template or automate it.
你必须关注每一个重要的任务,找出如何让这样任务自动化和模板化。
Looking at the coverage and looking where the tests are not going through and add a test for that path becomes a repetitive task.
查看测试的覆盖率以及查看测试未能通过的地方,为那些路径添加测试成了一项重复的工作。
应用推荐